class Device():
    """设备抽象基类"""
    
    def __init__(self, name):
        self.name = name
        self.initialized = False
    
    def initialize(self):
        """初始化设备"""
        pass
    
    def read_data(self):
        """读取设备数据"""
        pass
    
    def execute_command(self, command, value):
        """执行设备命令（默认不支持）"""
        return {"status": "not_supported"}
    
    def is_initialized(self):
        return self.initialized